package com.skywolf.chem.article.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.skywolf.chem.common.sysconfig.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户收藏表
 * </p>
 *
 * @author 
 * @since 2020-06-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="CollectionInfo对象", description="用户收藏表")
public class CollectionInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收藏人uid")
    private Long cusUid;

    @ApiModelProperty(value = "0-帖子收藏  1-直播收藏-暂时不支持")
    private Integer collType;

    @ApiModelProperty(value = "收藏内容id")
    private Long collId;

    @ApiModelProperty(value = "新闻标题")
    @TableField(exist = false)
    private String title;

    @ApiModelProperty(value = "新闻摘要")
    @TableField(exist = false)
    private String subTitle;

    @ApiModelProperty(value = "1:视频梯子 2:文本帖子 3:图文帖子")
    @TableField(exist = false)
    private Integer artType;

    @ApiModelProperty(value = "帖子封面")
    @TableField(exist = false)
    private String coverUrl;
}
